<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//ZH-CN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="imagetoolbar" content="no" />
	<title>Class UI.Waiting</title>
	<link href="../resources/API_Help.css" type="text/css" rel="stylesheet" />
</head>

<body>
<!--打印本页-->
<div class="printCurrentPage">
	<img src="../resources/image/print.gif" align="absmiddle" />&nbsp;
	<a href="ui_Waiting_API.html" target="_blank">打印本页</a>
</div><br/>

<!--标题说明-->
<h1>Class UI.Waiting</h1>
<b>定义于文件：</b>&nbsp;&nbsp;webui.js
<div class="description">在浏览器页面中创建一个等待操作层。</div><br/>
<b>基本语法</b>
<div class="syntax">var waiting = new <b>UI.Waiting</b>( { [ <em>caption:String</em>,&nbsp;&nbsp;<em>width:Number</em>,&nbsp;&nbsp;<em>height:Number</em>,&nbsp;&nbsp;<em>flashed:boolean</em> ] } );</div>
<b>参数说明</b>
<div class="parameter">
	<ul>
		<li><em>caption</em> : String</li>
		<div class="subDesc">(可选参数) 等待操作层的标题文本, 默认值: Please wait。</div>
		<li><em>width</em> : Number</li>
		<div class="subDesc">(可选参数) 等待操作层的宽度, 默认值: 360px。</div>
		<li><em>height</em> : Number</li>
		<div class="subDesc">(可选参数) 等待操作层的高度, 默认值: 260px。</div>
		<li><em>flashed</em> : boolean</li>
		<div class="subDesc">等待操作层的显示模式。</div>
	</ul>
</div>
<b>页面标签对象原型</b>
<div class="parameter">
	无
</div>
<b>依赖关系</b>
<div class="parameter">
	<a href="core_API.html">core.js</a>
</div><br/>
<a href="#properties">相关属性</a>&nbsp;&nbsp;-&nbsp;&nbsp;
<a href="#methods">相关方法</a>&nbsp;&nbsp;-&nbsp;&nbsp;
<a href="#events">相关事件</a>&nbsp;&nbsp;-&nbsp;&nbsp;
<a href="#examples">应用示例</a>
<hr>

<!--相关属性-->
<a name="properties"></a>
<h2>相关属性</h2>
<table width="100%" cellspacing="0">
	<tbody>
		<tr>
			<td class="tableHead" width="83%">所有属性</td>
			<td class="tableHead" width="17%">所属类</td>
		</tr>
		<tr>
			<td class="tableLineLeft">
				<a href="#UI.Waiting.dom" class="methodLink">UI.Waiting.dom</a>&nbsp;:&nbsp;&lt;div&gt;<br/>
				等待操作层控件的页面标签对象。
			</td><td class="tableLineRight">UI.Waiting</td>
		</tr>
	</tbody>
</table>

<!--相关方法-->
<a name="methods"></a>
<h2>相关方法</h2>
<table width="100%" cellspacing="0">
	<tbody>
		<tr>
			<td class="tableHead" width="83%">所有方法</td>
			<td class="tableHead" width="17%">所属类</td>
		</tr>
		<tr>
			<td class="tableLineLeft">
				<a href="#hide" class="methodLink">hide</a>()&nbsp;:&nbsp;none<br/>
				关闭等待操作层。
			</td><td class="tableLineRight">UI.Waiting</td>
		</tr>
		<tr>
			<td class="tableLineLeft alt">
				<a href="#show" class="methodLink">show</a>( <em>msg:String</em> )&nbsp;:&nbsp;none<br/>
				打开等待操作层。
			</td><td class="tableLineRight alt">UI.Waiting</td>
		</tr>
		<tr>
			<td class="tableLineLeft">
				<a href="#setCaption" class="methodLink">setCaption</a>( <em>text:String</em> )&nbsp;:&nbsp;none<br/>
				设置等待操作层的标题栏文本。
			</td><td class="tableLineRight">UI.Waiting</td>
		</tr>
	</tbody>
</table>

<!--相关事件-->
<a name="events"></a>
<h2>相关事件</h2>
<div class="properties">本类无相关事件。</div><br/>

<hr>

<!--相关属性的详细说明-->
<h2>本类属性的详细说明</h2>
<div class="detailWrap">

<a name="UI.Waiting.dom"></a>
<div class="mdetail">
	<h3>UI.Waiting.dom</h3><br/>
	<div class="mdetailDetails">
		等待操作层控件的页面标签对象。<br/>
		通过 dom 属性可直接对等待操作层进行相关操作。
	</div>
	<div class="footer since">@since JSR2.5&nbsp;&nbsp;&nbsp;&nbsp;<a href="ui_Waiting_API.html">Return</a></div><br/>
</div>

</div><br/>

<!--相关方法的详细说明-->
<h2>本类方法的详细说明</h2>
<div class="detailWrap">

<a name="hide"></a>
<div class="mdetail">
	<h3>hide</h3>
	<div class="functionDefine">public function hide()</div>
	<div class="mdetailDetails">
		关闭等待操作层。<br/>
	</div><br/>
	<div class="mdetailDetails"><b>参数</b>
		<ul><li>无</li></ul>
		<b>返回值</b>
		<ul><li>无</li></ul>
	</div>
	<div class="footer since">@since JSR2.5&nbsp;&nbsp;&nbsp;&nbsp;<a href="ui_Waiting_API.html">Return</a></div><br/>
</div>

<a name="show"></a>
<div class="mdetail alt">
	<h3>show</h3>
	<div class="functionDefine">public function show( msg:String )</div>
	<div class="mdetailDetails">
		打开等待操作层。<br/>
	</div><br/>
	<div class="mdetailDetails"><b>参数</b>
		<ul>
			<li><em>msg</em> : String</li>
			<div class="subDesc">提示信息。<br/>
				当控件有自定义面板时，此参数将无意义。
			</div>
		</ul>
		<b>返回值</b>
		<ul><li>无</li></ul>
	</div>
	<div class="footer since">@since JSR2.5&nbsp;&nbsp;&nbsp;&nbsp;<a href="ui_Waiting_API.html">Return</a></div><br/>
</div>

<a name="setCaption"></a>
<div class="mdetail">
	<h3>setCaption</h3>
	<div class="functionDefine">public function setCaption( text:String )</div>
	<div class="mdetailDetails">设置等待操作层的标题栏文本。</div><br/>
	<div class="mdetailDetails"><b>参数</b>
		<ul>
			<li><em>text</em> : String</li>
			<div class="subDesc">标题栏文本, 默认值: Waiting 。</div>
		</ul>
		<b>返回值</b>
		<ul><li>无</li></ul>
	</div>
	<div class="footer since">@since JSR2.5&nbsp;&nbsp;&nbsp;&nbsp;<a href="ui_Waiting_API.html">Return</a></div><br/>
</div>

</div><br/>

<!--应用示例-->
<a name="examples"></a>
<h2>应用示例</h2>
<div class="properties"><a href="../Example/ui_Waiting.html" target="_blank">ui_Waiting.html</a></div><br/>

<!--页脚-->
<hr>
<div class="footer">JSR - Copyright &copy; 2007-2008 Jsr JS, LLC<br/>All rights reserved.</div>
</body>
</html>
